/*
* WINDOWS DISGUISER
* 
* Written by Marco Minerva, mailto:marco.minerva@gmail.com
* 
* This code is released under the Microsoft Public License (Ms-PL).
* A copy of this license is available at
* http://www.microsoft.com/opensource/licenses.mspx#Ms-PL
*/

using System;
using NetExtensions.System;
using System.Windows.Forms;

namespace WindowsDisguiser
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            using (SingleProgramInstance spi = new SingleProgramInstance())
            {
                if (spi.IsSingleInstance)
                {
                    Application.EnableVisualStyles();
                    Application.Run(new Disguiser());
                }
            }
        }
    }
}